package com.bnyy.medicalHousekeeper.bean;

import java.io.Serializable;

public class Role extends Location implements Serializable {
    private int id;
    private String phone, username, desc, name;
    private RoleInfo roles;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public RoleInfo getRoles() {
        return roles;
    }

    public void setRoles(RoleInfo roles) {
        this.roles = roles;
    }

    public static class RoleInfo implements Serializable {
        int id;
        String desc, name;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
